﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ImportDB
{
    class ImportDBSetting
    {
        public string Setting { get; set; }
        public string Value { get; set; }

        public static List<ImportDBSetting> GetSettings()
        {
            List<ImportDBSetting> settings = new List<ImportDBSetting>();
            settings.Add(new ImportDBSetting() { Setting = "mysqlserver", Value = Properties.Settings.Default.mysqlserver });
            settings.Add(new ImportDBSetting() { Setting = "mysqldb", Value = Properties.Settings.Default.mysqldb });
            settings.Add(new ImportDBSetting() { Setting = "mysqluid", Value = Properties.Settings.Default.mysqluid });
            settings.Add(new ImportDBSetting() { Setting = "mysqlpwd", Value = Properties.Settings.Default.mysqlpwd });
            return settings;
        }
    }
}
